	.file	"main.c"
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"nombres.txt"
.LC2:
	.string	"wb"
.LC3:
	.string	"nombres.bin"
.LC4:
	.string	"%d"
.LC5:
	.string	"nombres.bin.gz"
	.text
.globl main
	.type	main, @function
main:
	pushl	%ebp
	movl	%esp, %ebp
	andl	$-16, %esp
	subl	$32, %esp
	movl	$.LC0, %edx
	movl	$.LC1, %eax
	movl	%edx, 4(%esp)
	movl	%eax, (%esp)
	call	fopen
	movl	%eax, 28(%esp)
	movl	$.LC2, %edx
	movl	$.LC3, %eax
	movl	%edx, 4(%esp)
	movl	%eax, (%esp)
	call	fopen
	movl	%eax, 24(%esp)
	jmp	.L2
.L3:
	movl	24(%esp), %eax
	movl	%eax, 12(%esp)
	movl	$1, 8(%esp)
	movl	$4, 4(%esp)
	leal	16(%esp), %eax
	movl	%eax, (%esp)
	call	fwrite
.L2:
	movl	$.LC4, %eax
	leal	16(%esp), %edx
	movl	%edx, 8(%esp)
	movl	%eax, 4(%esp)
	movl	28(%esp), %eax
	movl	%eax, (%esp)
	call	fscanf
	cmpl	$1, %eax
	je	.L3
	movl	24(%esp), %eax
	movl	%eax, (%esp)
	call	fclose
	movl	28(%esp), %eax
	movl	%eax, (%esp)
	call	fclose
	movl	$.LC0, %edx
	movl	$.LC1, %eax
	movl	%edx, 4(%esp)
	movl	%eax, (%esp)
	call	fopen
	movl	%eax, 28(%esp)
	movl	$.LC2, 4(%esp)
	movl	$.LC5, (%esp)
	call	gzopen
	movl	%eax, 20(%esp)
	jmp	.L4
.L5:
	movl	$4, 8(%esp)
	leal	16(%esp), %eax
	movl	%eax, 4(%esp)
	movl	20(%esp), %eax
	movl	%eax, (%esp)
	call	gzwrite
.L4:
	movl	$.LC4, %eax
	leal	16(%esp), %edx
	movl	%edx, 8(%esp)
	movl	%eax, 4(%esp)
	movl	28(%esp), %eax
	movl	%eax, (%esp)
	call	fscanf
	cmpl	$1, %eax
	je	.L5
	movl	20(%esp), %eax
	movl	%eax, (%esp)
	call	gzclose
	movl	28(%esp), %eax
	movl	%eax, (%esp)
	call	fclose
	movl	$0, %eax
	leave
	ret
	.size	main, .-main
	.ident	"GCC: (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2"
	.section	.note.GNU-stack,"",@progbits
